package com.bookshop.entity;

import lombok.*;

@Data
@NoArgsConstructor
@AllArgsConstructor
public class Cart {
    private Integer id;
    private Integer user_id;
    private Integer book_id;
    private Integer book_nums;

    public Cart(Integer user_id , Integer book_id)
    {
        this.user_id = user_id;
        this.book_id = book_id;
    }
}
